/* 包括首页，列表页，详情页 */
@font-face {
    /* 注意改变路径 */
    font-family: 'icomoon';
    src: url('../fonts/icomoon.eot?adicqn');
    src: url('../fonts/icomoon.eot?adicqn#iefix') format('embedded-opentype'),
        url('../fonts/icomoon.ttf?adicqn') format('truetype'),
        url('../fonts/icomoon.woff?adicqn') format('woff'),
        url('../fonts/icomoon.svg?adicqn#icomoon') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

/* 版心 */
.w {
    width: 1200px;
    margin: 0 auto;
    /* 没有高度，自动大小 */
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.style-red {
    color: #c81623;
}




/* 快捷导航模块 */
.shortcut {
    height: 31px;
    line-height: 31px;
    background-color: #f1f1f1;
}

.shortcut ul li {
    float: left;

}

.shortcut .fr ul li:nth-child(even) {
    width: 1px;
    height: 12px;
    background-color: #666;
    margin: 9px 15px 0;
}

.arrow :after {
    content: '\e91e';
    font-family: 'icomoon';
    margin-left: 6px;
}




/* header头部制作 */
.header {
    position: relative;
    height: 105px;
    /* background-color: pink; */
}

/* 直接顶到快捷导航模块，logo下移不要上marging，直接利用定位 */

.logo {
    position: absolute;
    top: 33px;
    height: 61px;
    width: 174px;
    /* background-color: blue; */
}

.logo a {
    /* 链接和logo一样大 */
    display: block;
    height: 61px;
    width: 174px;
    /* logo图作为图片背景进去 */
    background: url(../image/logo.png) no-repeat;
    /*  隐藏文字 */
    font-size: 0;
    /* text-indent:-999;
   overflow:hidden也可以 */
}

.search {
    /* position直接进行定位，不需要浮动就可以在同一行 */
    position: absolute;
    left: 346px;
    top: 35px;
    /* 大小直接做的search+button大小和高度 */
    width: 538px;
    height: 32px;
    border: 2px solid #b1191a;
}

/* button,
input {
    border: 0;   必须写border是0
   outline: none;
    在base里面设置   */

.search input {
    float: left;
    /* input search都是行内块元素，中间会有空隙，浮动去掉缝隙 */
    width: 454px;
    height: 32px;
    padding-left: 10px;
}

.search button {
    float: left;
    width: 84px;
    height: 32px;
    background-color: #b1191a;
    color: #f1f1f1;
}

.hotwords {
    position: absolute;
    top: 74px;
    left: 346px;
}

.hotwords a {
    margin: 0 10px;
}

.shopcar {
    position: absolute;
    right: 60px;
    top: 35px;
    width: 140px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    border: 1px solid #dfdfdf;
    background-color: #f7f7f7;
}

.shopcar::before {
    content: '\e93a';
    font-family: 'icomoon';
    margin-right: 5px;
    color: #b1191a;
}

/* 购物车这种小图标都可以用icon做 */
.shopcar::after {
    content: '\e920';
    font-family: 'icomoon';
    margin-left: 10px;
}

.shopcar::before {
    content: '\e93a';
    font-family: 'icomoon';
    margin-right: 5px;
    color: #b1191a;
}

.shopcar:after {
    content: '\e920';
    font-family: 'icomoon';
    color: #666;
    margin-left: 10px;
}

/* 小图标制作，不要加宽度,让数字撑开盒子 */
.count {
    height: 16px;
    position: absolute;
    top: -6px;
    right: 28px;
    background-color: #d81717;
    line-height: 16px;
    padding: 0 4px;
    border-radius: 8px 8px 8px 0;
    color: #f1f1f1;
}



/* nav导航制作 */
.nav {
    height: 49px;
    border-bottom: 2px solid #b1191a;
}



/* [dropdown制作] */
.dropdown h1 {
    width: 210px;
    height: 49px;
    line-height: 49px;
    background-color: #b1191a;
    color: #f1f1f1;
    text-align: center;
    font-weight: 400;
    border-bottom: 2px solid #b1191a;
}

.dropdown ul li {
    width: 210px;
    height: 31px;
    padding: 0 10px;
    background-color: #eb2222;
    /* text-align: center; */
    color: #f1f1f1;
    position: relative;
    box-sizing: border-box;
    font-size: 14px;
    line-height: 30px;
}

.dropdown ul a {
    color: #f1f1f1;
}

.dropdown ul li::after {
    content: '\e920';
    font-family: 'icomoon';
    position: absolute;
    right: 10px;
}

.nav>div {
    float: left;
}

/* [navitems制作] */
.navitems ul li {
    float: left;
    padding-left: 46px;
    font-size: 16px;
    text-align: center;
    line-height: 49px;
}

.navitems ul li a {
    color: #2f2f2f;
}

.navitems ul li a:hover {
    color: #b81010;
}



/* 首页专有模块main */
.main {
    height: 465px;
    background-color: pink;
    /* position: absolute; */
    /* 不能用绝对定位挡住drop */
}


/* focus部分 */
.focus {
    width: 721px;
    height: 455px;
    position: relative;
    top: 12px;
    left: 219px;
    background-color: rgb(59, 58, 58);
}